<div class="g-topnav g-porg">
  <div class="f-container">
    <div class="m-logo">
      <a href="<%= constructInsideUrl('index/index') %>">
        <div class="u-imgcon u-imgcon-1">
          <img src="<%= require('../../imgs/pthto_fengbao.png')%>" alt="">
        </div>
      </a>
    </div>
    <div class="m-nav">
      <a :class="['item', @currentPage==='porg' || @currentPage==='org' ? 'current' : '']" :attr="{href: @getUrl('porg')}">烽报</a>
      <a :class="['item', @currentPage==='act' ? 'current' : '']" :attr="{href: @getUrl('act')}" :click="@pop_login()">活动</a>
      <a :class="['item', @currentPage==='cms' ? 'current' : '']" :attr="{href: @getUrl('cms')}" :click="@pop_login()">公告</a>
      <a :class="['item', @currentPage==='shop' ? 'current' : '']" :attr="{href: @getUrl('shop')}" :click="@pop_login()">票务</a>
      <div :class="[@booleanToken() ? 'pop-panel' : 'm-found']">
        <div class="title">
          {{@booleanToken() ? '烽火台' : '发现'}}
          <i class="p-icon p-icon-10 p-icon-triangle-white f-ml-10"></i>
        </div>
        <div class="m-pop-tools-panel" :if="@booleanToken()">
          <div class="f-container">
            <a class="panel-content-item">
              <i></i>
              <h2>统计中心</h2>
              <p>总览 ></p>
            </a>
            <a class="panel-content-item">
              <i></i>
              <h2>服务商市场</h2>
              <p>总览 ></p>
            </a>
            <ul class="panel-tools-list panel-tools-list-border">
              <a class="panel-tools-list-item">
                <h3>通知公告</h3>
                <p>工具描述</p>
              </a>
              <a class="panel-tools-list-item free">
                <h3>任务板<span class="u-free">限免</span></h3>
                <p>工具描述</p>
              </a>
              <a class="panel-tools-list-item">
                <h3>活动模板</h3>
                <p>工具描述</p>
              </a>
              <a class="panel-tools-list-item">
                <h3>组织架构</h3>
                <p>工具描述</p>
              </a>
            </ul>
            <ul class="panel-tools-list panel-tools-list-border">
              <a class="panel-tools-list-item">
                <h3>上架票务</h3>
                <p>工具描述</p>
              </a>
              <a class="panel-tools-list-item">
                <h3>订单支付</h3>
                <p>工具描述</p>
              </a>
              <a class="panel-tools-list-item">
                <h3>数据统计</h3>
                <p>工具描述</p>
              </a>
              <a class="panel-tools-list-item">
                <h3>文章评论</h3>
                <p>工具描述</p>
              </a>
            </ul>
            <ul class="panel-tools-list  panel-tools-list-border">
              <a class="panel-tools-list-item">
                <h3>相册</h3>
                <p>工具描述</p>
              </a>
              <a class="panel-tools-list-item free">
                <h3>投票<span class="u-free">限免</span></h3>
                <p>工具描述</p>
              </a>
              <a class="panel-tools-list-item free">
                <h3>问卷<span class="u-free">限免</span></h3>
                <p>工具描述</p>
              </a>
              <a class="panel-tools-list-item free">
                <h3>抽奖<span class="u-free">限免</span></h3>
                <p>工具描述</p>
              </a>
            </ul>
            <ul class="panel-tools-list">
              <a class="panel-tools-list-item">
                <h3>迷你简历</h3>
                <p>工具描述</p>
              </a>
              <a class="panel-tools-list-item">
                <h3>海报工厂</h3>
                <p>工具描述</p>
              </a>
              <a class="panel-tools-list-item">
                <h3>广告联盟</h3>
                <p>工具描述</p>
              </a>
              <a class="panel-tools-list-item">
                <h3>场地管理</h3>
                <p>工具描述</p>
              </a>
            </ul>
            <ul class="panel-tools-list f-mr-10">
              <a class="panel-tools-list-item">
                <h3>会员卡</h3>
                <p>工具描述</p>
              </a>
            </ul>
          </div>
        </div>
      </div>
    </div>
    <div class="m-rightcon" :if="@booleanToken()">
      <div class="u-search">
        <input type="text" :duplex="@search_key" data-duplex-changed="@bindSearch">
        <div class="btncon">
          <i class="p-icon p-icon-18 p-icon-search"></i>
        </div>
      </div>
      <a class="p-icon p-icon-22 p-icon-notice f-mr-20"></a>
      <div class="m-pop-wrapper">
        <div class="m-user f-pointer" :click="@bindPopUsercenterPanel">
          <div class="u-imgcon u-imgcon-2"><img :attr="{src: @userinfo.head+'?imageView2/1/w/30'}" alt=""></div>
          <p :attr="{title: @userinfo.name +' · '+@current_org.title}">{{@userinfo.name | truncate(10, '...')}}<b> · </b>{{@current_org.title | truncate(10, '...')}}</p>
        </div>
        <div class="m-pop-usercenter-panel">
          <div class="u-triangle">
          </div>
          <ul class="panel-top">
            <li :class="['item', @panelshow === 1 ? 'current' : '']" :click="@panelshow = 1">
              <i :class="['p-icon', 'p-icon-24', 'p-icon-panel-user', @panelshow === 1 ? 'p-icon-on' : 'p-icon-off']"></i></li>
            <li :class="['item', @panelshow === 2 ? 'current' : '']" :click="@panelshow = 2">
              <i :class="['p-icon', 'p-icon-24', 'p-icon-panel-activity', @panelshow === 2 ? 'p-icon-on' : 'p-icon-off']"></i></li>
          </ul>
          <div class="uc-panel-content"  :if="@panelshow === 1">
            <div class="uc-panel-content-top">
              <div class="info">
                <div class="u-imgcon">
                  <img src="http://op4axvn75.bkt.clouddn.com/photo_boy_huge.png?imageView2/1/w/70" alt="">
                </div>
                <div class="txt">
                  <h1>Humph</h1>
                  <p>一段简单的自我介绍</p>
                </div>
              </div>
              <div class="tags">
                <div class="tags-item">#dfdf</div>
                <div class="tags-item">#dfdf</div>
                <div class="tags-item">#dfdf</div>
              </div>
              <div class="amounts">
                <div class="amounts-item">
                  <div class="title">联系人</div>
                  <div class="number">123</div>
                </div>
                <div class="amounts-item">
                  <div class="title">组织</div>
                  <div class="number">123</div>
                </div>
                <div class="amounts-item">
                  <div class="title">活动群</div>
                  <div class="number">123</div>
                </div>
              </div>
            </div>
            <div class="uc-panel-content-list">
              <a class="uc-list-item">
                <i class="p-icon p-icon-usercenter-1"></i>
                <p>我的任务卡</p>
                <span class="u-label">1</span>
              </a>
              <a class="uc-list-item">
                <i class="p-icon p-icon-usercenter-2"></i>
                <p>我的订单</p>
                <span class="u-label">99</span>
              </a>
              <a class="uc-list-item">
                <i class="p-icon p-icon-usercenter-3"></i>
                <p>我的相册</p>
                <span class="u-label">12</span>
              </a>
              <a class="uc-list-item">
                <i class="p-icon p-icon-usercenter-4"></i>
                <p>我的收藏</p>
              </a>
            </div>
            <div class="uc-panel-content-setting">
              <a href="<%= constructInsideUrl('member/usercenter') %>" class="feedback">
                <i class="p-icon p-icon-20 p-icon-setting"></i>
                <p>设置</p>
              </a>
              <a class="feedback">
                <i class="p-icon p-icon-20 p-icon-feedback"></i>
                <span>反馈</span>
              </a>
            </div>
          </div>
          <div class="uc-panel-content" :if="@panelshow === 2">
            <div class="uc-panel-content-top">
              <div class="info">
                <div class="u-imgcon">
                  <img src="http://op4axvn75.bkt.clouddn.com/photo_boy_huge.png?imageView2/1/w/70" alt="">
                </div>
                <div class="txt">
                  <h2>第二十期青桐汇共享经济专场暨智能家居</h2>
                  <p class="time">10月22日（周日）14：00—17：00</p>
                </div>
              </div>
              <div class="tags">
                <div class="tags-item">#dfdf</div>
                <div class="tags-item">#dfdf</div>
                <div class="tags-item">#dfdf</div>
              </div>
              <div class="amounts">
                <div class="amounts-item">
                  <div class="number">123</div>
                  <div class="title">关注过</div>
                </div>
                <div class="amounts-item">
                  <div class="number">123</div>
                  <div class="title">报名</div>
                </div>
                <div class="amounts-item">
                  <div class="number">123</div>
                  <div class="title">待参加</div>
                </div>
              </div>
            </div>
            <div class="uc-panel-content-list">
              <a class="uc-list-item">
                <i class="p-icon p-icon-usercenter-5"></i>
                <p>我的签到</p>
                <span class="u-label">1</span>
              </a>
              <a class="uc-list-item">
                <i class="p-icon p-icon-usercenter-6"></i>
                <p>我的文章 | 评论</p>
                <span class="u-label">99</span>
              </a>
              <a class="uc-list-item">
                <i class="p-icon p-icon-usercenter-7"></i>
                <p>我的投票 | 问卷</p>
                <span class="u-label">12</span>
              </a>
              <a class="uc-list-item">
                <i class="p-icon p-icon-usercenter-8"></i>
                <p>我的抽奖 | 卡券</p>
              </a>
            </div>
            <div class="uc-panel-content-setting">
              <a href="<%= constructInsideUrl('member/usercenter') %>" class="feedback">
                <i class="p-icon p-icon-20 p-icon-setting"></i>
                <p>设置</p>
              </a>
              <a class="feedback">
                <i class="p-icon p-icon-20 p-icon-feedback"></i>
                <span>反馈</span>
              </a>
            </div>
          </div>
        </div>
      </div>
      <div class="dropdown">
        <div class="u-orglist-btn dropdown-toggle" id="dropdownMenu1" data-toggle="dropdown">
          <span class="p-icon p-icon-22 p-icon-caret f-pointer"></span>
        </div>
        <div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu1">
          <div class="u-triangle u-triangle-1">
          </div>
          <div class="m-pop-org-list">

            <div class="m-pop-org-item" :for="el in @org_list | filterBy(@fn)" :click="@bindChooseOrg(el.id)">
              <div class="u-imgcon u-imgcon-2">
                <img :attr="{src: el.logo, alt: el.title}">
              </div>
              <p :attr="{title: el.title}">{{el.title | truncate(10, '...')}}</p>
            </div>
            <a href="<%= constructInsideUrl('member/organization_new') %>" class="m-pop-org-item m-pop-org-item-1">
              <div class="u-imgcon u-imgcon-2  u-imgcon-square">
                <i class="p-icon p-icon-30 p-icon-plus-bordered f-mr-0"></i>
              </div>
              <p>创建组织</p>
            </a>
            <div class="m-pop-org-item f-pointer" :click="@bindExit">
              <div class="u-imgcon u-imgcon-2">
                <i class="p-icon p-icon-22 p-icon-exit"></i>
              </div>
              <p>退出</p>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="m-rightcon" :if="!@booleanToken()">
      <div class="u-search">
        <input type="text" :duplex="@search_key" data-duplex-changed="@bindSearch">
        <div class="btncon">
          <i class="p-icon p-icon-18 p-icon-search"></i>
        </div>
      </div>
      <a class="p-register" :click="@pop_login(2)">没有账号，立即注册</a>
      <a class="btn-login" :click="@pop_login()">
        <i class="p-icon p-icon-16 p-icon-login-user f-mr-10"></i>登录</a>
    </div>
  </div>
</div>
<div class="g-secondnav g-porg" :if="@booleanToken()">
  <div class="f-container">
    <ul class="menu">
      <a :class="['item', @getMenuCurrent(el)]" :for="el in arr_menu" :attr="{href: '/' + el.project + '/' + el.page + '/page.html'}">{{el.title}}</a>
    </ul>
    <a class="btn btn-success" :attr="{href: @getBtnTxt('href')}" :text="@getBtnTxt('text')"></a>
  </div>
</div>
